-if @home_page
  =render :partial=>"pages/page_content", :locals=>{:page=>@home_page}


-if @active_campaigns and @active_campaigns.size > 0 
  %h2{:class=>"content_header"}
    =t(:campaign_all_active_title)
  =render :partial=>"campaigns/campaign", :collection=>@active_campaigns  

-if @next_campaigns and @next_campaigns.size > 0 
  %h2{:class=>"content_header"}
    =t(:campaign_all_upcoming_title)
  =render :partial=>"campaigns/campaign", :collection=>@next_campaigns  



-if @top_users and @top_users.size > 0 
  %h2{:class=>"content_header"}
    =t(:top_users_widget_title)
  
  =render :partial=>"users/user_listing", :locals=>{:users=>@top_users}
  .front_page_widget_options
    =link_to t(:widget_tool_see_all), users_url
  

-if @popular_videos and @popular_videos.size > 0
  %h2{:class=>"content_header"}
    =t(:videos_popular_title)
  =render :partial=>"videos/video", :collection=>@popular_videos, :locals => {:is_showing=>false, :show_actions=>false}
  .front_page_widget_options
    =link_to t(:widget_tool_see_all), videos_url
  

-content_for :featured_content do
  = render :partial => 'pages/featured'

  
